<?php

namespace App\Model;
use Util\Common;

/**
 * Service服务-模型
 */
class Service extends Model
{
    /**
     * The attributes that are mass assignable.
     *
     * @var string[]
     */
    public bool $timestamps = true;

    protected ?string $table = 'service';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected array $fillable = [
     'id','fee', 'name', 'tag','desc','days'
    ];
    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected array $hidden = [
    ];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected array $casts = [
        'created_at' => 'datetime:Y-m-d H:i:s',
        'updated_at' => 'datetime:Y-m-d H:i:s',
    ];


}
